package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 图标管理对象 sys_icon
 *
 * @author ruoyi
 * @date 2023-07-31
 */
public class SysIcon extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 图标id */
    private Long iconId;

    /** 图标名称 */
    @Excel(name = "图标名称")
    private String iconName;

    /** 图标图片路径 */
    @Excel(name = "图标图片路径")
    private String iconPath;

    /** 链接页面 */
    @Excel(name = "链接页面")
    private String linkUrl;

    /** 位置 */
    @Excel(name = "位置")
    private String position;

    /** 图标状态(0:正常 1:停用) */
    @Excel(name = "图标状态(0:正常 1:停用)")
    private String iconStatus;

    /** 顺序 */
    @Excel(name = "顺序")
    private Long sort;

    /** 删除标记(0:可用 1:不可用) */
    @Excel(name = "删除标记(0:可用 1:不可用)")
    private String isDeleted;

    public void setIconId(Long iconId)
    {
        this.iconId = iconId;
    }

    public Long getIconId()
    {
        return iconId;
    }
    public void setIconName(String iconName)
    {
        this.iconName = iconName;
    }

    public String getIconName()
    {
        return iconName;
    }
    public void setIconPath(String iconPath)
    {
        this.iconPath = iconPath;
    }

    public String getIconPath()
    {
        return iconPath;
    }
    public void setLinkUrl(String linkUrl)
    {
        this.linkUrl = linkUrl;
    }

    public String getLinkUrl()
    {
        return linkUrl;
    }
    public void setPosition(String position)
    {
        this.position = position;
    }

    public String getPosition()
    {
        return position;
    }
    public void setIconStatus(String iconStatus)
    {
        this.iconStatus = iconStatus;
    }

    public String getIconStatus()
    {
        return iconStatus;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }

    public Long getSort()
    {
        return sort;
    }
    public void setIsDeleted(String isDeleted)
    {
        this.isDeleted = isDeleted;
    }

    public String getIsDeleted()
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("iconId", getIconId())
            .append("iconName", getIconName())
            .append("iconPath", getIconPath())
            .append("linkUrl", getLinkUrl())
            .append("position", getPosition())
            .append("iconStatus", getIconStatus())
            .append("sort", getSort())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
